All: UpdateTypes Build

.PHONY: Build UpdateTypes Update Run
Build:
	go build -o k8scontroller.exe ./*.go
UpdateTypes:
	hack/update-codegen.sh
Update:
	go get -u ./...
	go mod tidy
Run:
	go run ./*.go

generate-crd:
	go install sigs.k8s.io/controller-tools/cmd/controller-gen@latest
	controller-gen crd paths=./pkg/apis/... output:crd:artifacts:config=./config/crd/bases